package com.nuoniu.sibanyun.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author baiqiang
 * @since 2020-08-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_agreement")
@ApiModel(value="SysAgreement对象", description="")
public class SysAgreement extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "上一个ID")
    @TableField("last_id")
    private Integer lastId;

    @ApiModelProperty(value = "协议code")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "协议title")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "协议内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "状态(0:正常 1:删除 2：停用  )")
    @TableField("status")
    private Integer status;


    @ApiModelProperty(value = "创建人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人名称")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_date")
    private LocalDateTime createDate;


}
